FROM node
# apt阿里镜像源
COPY sources.list /etc/apt/sources.list

# apt-get更新
RUN apt-get update
RUN apt-get upgrade -y
# 安装node环境

COPY ./src /var/www
WORKDIR /var/www

CMD ["sh","/var/www/startup.sh"]